package com.qianxi.wit.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 医生表
 * </p>
 *
 * @author zqp
 * @since 2021-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TbDoctor对象", description="医生表")
public class TbDoctor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "医生id")
    @TableId(value = "doctor_id", type = IdType.AUTO)
    private Long doctorId;

    @ApiModelProperty(value = "医生姓名")
    private String doctorName;

    @ApiModelProperty(value = "年限")
    private Integer doctorTime;

    @ApiModelProperty(value = "医师资格证书")
    private String doctorQualificationCertificate;

    @ApiModelProperty(value = "医师执业证书")
    private String doctorMedicalPractitionerCertificate;

    @ApiModelProperty(value = "问诊次数")
    private Integer inquiryNum;

    @ApiModelProperty(value = "总收入金额")
    private BigDecimal doctorTotalRevenue;

    @ApiModelProperty(value = "是否审核(未审核:0,审核通过:1,审核未通过：2)")
    private Integer doctorStatus;

    @ApiModelProperty(value = "隶属医院（医院id）")
    private Long hospitalId;

    @ApiModelProperty(value = "医师等级(主治医师：0，专家医师：1，普通医师：2)")
    private Integer doctorGrade;

    @ApiModelProperty(value = "总评论数")
    private Double commentNum;

    @ApiModelProperty(value = "好评数")
    private Double goodComment;

    @ApiModelProperty(value = "科室id")
    private Long facultyId;


}
